package com.cjr.mapper;

import com.cjr.pojo.Goods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cjr.vo.GoodsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author cjr
 */
@Mapper
public interface GoodsMapper extends BaseMapper<Goods> {

   /**
    * find goods vo list
    *
    * @params []
    * @return java.util.List<com.cjr.vo.GoodsVo>
    */
    List<GoodsVo> findGoodsVo();

    /**
     * find goods by id
     *
     * @param goodsId
     * @return
     */
    GoodsVo findGoodsVoByGoodsId(Long goodsId);
}
